package com.st.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hello
 * @since 2021-11-15
 */
@TableName("g_orderitem")
public class Orderitem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单明细编号
     */
    private String itemId;

    /**
     * 订单编号
     */
    private String orderId;

    /**
     * 图书编号
     */
    private String isbn;

    /**
     * 订购数量
     */
    private Integer quantity;

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }
    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }
    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "Orderitem{" +
            "itemId=" + itemId +
            ", orderId=" + orderId +
            ", isbn=" + isbn +
            ", quantity=" + quantity +
        "}";
    }
}
